import org.mockito.ArgumentMatcher;

import java.util.List;

/**
 * @author daiqing.chen
 */
public class First extends ArgumentMatcher<List> {

    @Override
    public boolean matches(Object list) {
        return ((List)list).size() < 2;
    }

}
